package com.suppor.rpc.core.trans;

import java.io.Serializable;

public class RpcRequest implements Serializable {
    /**
     * 请求的接口版本
     */
    private String serviceVersion;
    /**
     * 请求的远程服务的全限定名称
     */
    private String serviceImpl;
    /**
     * 请求的远程服务的接口全限定名称
     */
    private String methodName;

    /**
     * 远程接口的参数
     */
    private Object[] paras;

    /**
     * 远程接口参数类型
     */
    private Class<?>[] parameterTypes;

    public String getServiceVersion() {
        return serviceVersion;
    }

    public void setServiceVersion(String serviceVersion) {
        this.serviceVersion = serviceVersion;
    }

    public String getServiceImpl() {
        return serviceImpl;
    }

    public void setServiceImpl(String serviceImpl) {
        this.serviceImpl = serviceImpl;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Object[] getParas() {
        return paras;
    }

    public void setParas(Object[] paras) {
        this.paras = paras;
    }

    public Class<?>[] getParameterTypes() {
        return parameterTypes;
    }

    public void setParameterTypes(Class<?>[] parameterTypes) {
        this.parameterTypes = parameterTypes;
    }
}
